package io.renren.modules.es.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;

/**
 * TPeopleNotice es搜索展示vo
 * @author captain
 * @date 2019/9/23
 */
@Data
@Document(indexName = "peoplenoticeesvo")
@ApiModel(value = "职位变动")
public class PeopleNoticeESVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty(value = "peopleId")
    private Integer peopleId;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "变动前头衔")
    private String chanageBefore;

    @ApiModelProperty(value = "变动后头衔")
    private String chanageAfter;

    @ApiModelProperty(value = "变动描述")
    private String chanageAfterClasses;
}